package com.tkjt.pms.calc.common;

import java.util.ArrayList;
import java.util.List;

public class IndexCalcSerial {

	private List<IndexCalcParallel> parallels = new ArrayList<IndexCalcParallel>();

	public List<IndexCalcParallel> getParallels() {
		return parallels;
	}

	public void setParallels(List<IndexCalcParallel> dependencies) {
		this.parallels = dependencies;
	}

	public void addParallel(IndexCalcParallel parallel) {
		parallels.add(parallel);
	}

	public int getParallelSize() {
		return parallels.size();
	}

}
